import request from '@/utils/request';
// 健康档案
export function getChronicDisease(patientId) {
  return request({
    url: `/patients/${patientId}/chronic_disease`,
    method: 'get'
  });
}
// 查询健康档案
export function getPhysicalExamination(patientId) {
  return request({
    url: `/patients/${patientId}/physicalExamination`,
    method: 'get'
  });
}
// 查询健康档案
export function getPhysicalExaminationId(physicalExaminationId) {
  return request({
    url: `/patients/physicalExamination/${physicalExaminationId}`,
    method: 'get'
  });
}

export function getFamilyPhysicalExamination(patientIdStr) {
  return request({
    url: `/patients/physicalExaminations?patientIds=${patientIdStr}`,
    method: 'get'
  });
}
